<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>Document</title>
</head>
<script type="text/javascript">
	window.onload = function  () {
		// body...
	}
</script>
<body>
	<div id="123" class="122" style="height:200px;width:200px;background:#333;">123</div>
	<div id="lala" style="height:200px;width:200px;background:#777777;display:block;">lalalalallalalal</div>
</body>
<script type="text/javascript">
	box = document.getElementById('123')
	box2 = document.getElementById('lala')

		x = 0
	box.onclick = function  () {
		if (x==0) {
			box2nr = box2.innerHTML
			box.innerHTML= box2nr
			x=1;
			box2.style.display="none";
		}else{box2.style.display="block";
			x=0;
			}
		
		
	}

</script>
</html>